package com.s10.ecloud.web.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "PUBLIC_INFORMATION", catalog = "ECLOUD")
public class PublicInformation implements java.io.Serializable {

	private static final long serialVersionUID = -2806856683798588437L;

	private Integer id;
	
	/**
	 * state: 0 save, 1 submitted & waiting audit 2 valid  3 invalid
	 */
	private Integer state;

	public PublicInformation() {

	}

	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

}
